package com.itlong.cloud.app.service;

import com.itlong.cloud.enumerate.oldapp.Message;

/**
 * <desc>
 *     旧版APP_用户通行记录接口
 * </desc>
 * @createDate 2017/11/10
 */
public interface IAppOldDeviceRecordService {



    /**
     * <desc>
     *     旧版APP_查询通行记录
     * </desc>
     * @param userId 当前用户用户ID
     * @param pageNo
     * @param pageSize
     * @param projectId 当前项目编号
     * @return
     * @throws Exception
     * @author cuiduanwu
     * @createDate 2017/11/8
     */
    Message getDeviceRecord(String userId,Integer pageNo,Integer pageSize,String projectId) throws Exception;


    /**
     * <desc>
     *     旧版APP_上传通行记录
     * </desc>
     * @param userId
     * @param recordJson
     * @return
     * @throws Exception
     * @author cuiduanwu
     * @createDate 2017/11/9
     */
    Message deviceRecordUpload(String userId,String recordJson) throws Exception;


}
